<template>
	<view class="container">
		<rich-text :nodes="content"></rich-text>
	</view>
</template>

<script>
	import agreement from './index.js';
	export default {
		data() {
			return {
				content: ''
			}
		},
		onLoad(option) {
			this.content = agreement[option.type];
		},
	}
</script>

<style lang="less" scoped>
	.container {
		background-color: #fff;
		padding: 15rpx;
	}
</style>